/*
 * @Author: 吕会录 lvhuilu125807@163.com
 * @Date: 2023-08-18 11:58:01
 * @LastEditors: 吕会录 lvhuilu125807@163.com
 * @LastEditTime: 2023-08-18 11:58:12
 * @FilePath: \xyhdp\src\utils\time\times.js
 * @Description: 
 * Copyright (c) 2023 by ${git_name} email: ${git_email}, All Rights Reserved.
 */
// utils.js
export function getFormattedDate() {
    const currentDate = new Date();
    const year = currentDate.getFullYear();
    const month = String(currentDate.getMonth() + 1).padStart(2, '0');
    const day = String(currentDate.getDate()).padStart(2, '0');
    return `${year}-${month}-${day}`;
}